package com.etime.service;

import com.etime.pojo.Order;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface OrderService {
    PageInfo<Order> getOrderByPage(Integer page);

    PageInfo<Order> getOrderByName(Integer page, String user_name);

    void addOrder(Order order);

    void updateStatus(Integer order_id);

    Order getOrderById(Integer order_id);

    List<Order> getOrderByUser(Integer user_id);
}
